﻿<div class="main_title">
    新增 <a href="@Url.Action("Images", "Loan",new {id=ViewContext.RouteData.Values["id"]})" class="back_list">返回列表</a></div>
<div class="blank5">
</div>
@using (Html.BeginForm("PostAddImage", "Loan"))
{
    <table class="form">
        <input type="hidden" name="PID" value="@ViewContext.RouteData.Values["id"]"/>
        <tr>
            <td colspan="2" class="topTd"></td>
        </tr>
        <tr>
            <td class="item_title">标题:</td>
            <td class="item_input">
                <input type="text" disabled="disabled" class="textbox require" style="width: 300px;" value="@ViewBag.T"/>
                <input type="hidden" class="textbox require" name="Title" style="width: 300px;" value="@ViewBag.T"/>
            </td>
        </tr>
        
        <tr>
            <td class="item_title">缩略图:</td>
            <td class="item_input">@Html.UploadImage("Thumbnail")</td>
        </tr>
        <tr>
            <td class="item_title">全图:</td>
            <td class="item_input">@Html.UploadImage("Photo")</td>
        </tr>
        <tr>
            <td class="item_title">排序:</td>
            <td class="item_input"><input type="text" class="textbox" name="Sort" style="width: 60px" value="0"/></td>
        </tr>
        <tr>
            <td class="item_title"></td>
            <td class="item_input">
                <!--隐藏元素-->
                <input type="submit" class="button" value="新增" />
                <input type="reset" class="button" value="重置" />
            </td>
        </tr>
        <tr>
            <td colspan="2" class="bottomTd"></td>
        </tr>
    </table>
}